﻿@using WebEntities
@using WebEntities.Models.WebInfo
@model WI_Jobs
@{
    ViewBag.Title = (((Model != null) && (Model.IsShow == (byte)JobShowStatus.Show)) ? Model.JobName + "_" : string.Empty) + "英才招聘_城市垃圾处理网";
    ViewBag.ClassHead = "head_bg6";
}
<div class="listMain">
    <div class="main_l">
        @Html.Action("CircleMenu", "PublicPartialView", new { miId = (int)ViewBag.MenuItemID })
        <div class="contentBox">
            <div class="con_bar">
                <span class="fl tit">其他招聘信息</span>
                <div class="cls">
                </div>
            </div>
            <div class="con_Main_2">
                <ul>
                @{
                    List<WI_Jobs> otherJobs = ViewBag.OtherJobs as List<WI_Jobs>;
                    foreach (var ojob in otherJobs)
                    {
                        <li>
                            <a href="/detail/job/@ojob.JobID">@ojob.JobName</a> 
                            <span>[@((ojob.PubTime ?? ojob.CreateTime).ToString("yyyy-MM-dd"))]</span>
                        </li>
                    }
                }
                </ul>
            </div>
        </div>
        @Html.Action("Contact", "PublicPartialView")
    </div>
    <div class="main_r">
        @Html.Action("PageCurrentPath", "PublicPartialView", new { miId = (int)ViewBag.MenuItemID })
        <div class="contentBox ctb">
        @if ((Model != null) && (Model.IsShow == (byte)JobShowStatus.Show))
        {
            <h1 class="tit">@Model.JobName</h1>
            <div class="cb_mainText">
                <table width="100%" cellspacing="0" cellpadding="0" border="0" class="pro-attr-table">
                    <tbody>
                        <tr>
                            <th>
                                【工作地点】
                            </th>
                            <td>
                                @Model.JobAddress
                            </td>
                            <th>
                                【招聘人数】
                            </th>
                            <td>
                                @Model.JobPepleNum
                            </td>
                        </tr>
                        <tr>
                            <th>
                                【工作年限】
                            </th>
                            <td>
                                @Model.WorkExperience
                            </td>
                            <th>
                                【学历要求】
                            </th>
                            <td>
                                @Model.EduBackGround
                            </td>
                        </tr>
                        <tr>
                            <th>
                                【发布时间】
                            </th>
                            <td>
                                @((Model.PubTime ?? Model.CreateTime).ToString("yyyy-MM-dd"))
                            </td>
                            <th>
                                【截至日期】
                            </th>
                            <td>
                                @(Model.LimitTime.HasValue ? Model.LimitTime.Value.ToString("yyyy-MM-dd") : "")
                            </td>
                        </tr>
                        <tr>
                            <th>
                                【所属企业】
                            </th>
                            <td colspan="3">
                                @Model.CompanyName
                            </td>
                        </tr>
                    </tbody>
                </table>
                <h2 class="title-line">职位描述</h2>
                @{ string jobdes = string.IsNullOrWhiteSpace(Model.JobDes) ? "未填写" : Model.JobDes; }
                @Html.Raw(jobdes)
                <h2 class="title-line">协会、公司、企业信息介绍</h2>
                @{ string comintro = string.IsNullOrWhiteSpace(Model.CompanyIntro) ? "未填写" : Model.CompanyIntro; }
                @Html.Raw(comintro)
            </div>
        }
        </div>
    </div>
</div>
